﻿namespace GdNet.WebFramework.Domain.System
{
    public partial class ModuleAction : EntityHistory
    {
        public virtual string Code { get; set; }
        public virtual string Name { get; set; }
        public virtual string ViewName { get; set; }
        public virtual string ClassName { get; set; }
        public virtual Module Module { get; protected set; }

        internal protected ModuleAction() { }

        public virtual void ChangeModule(Module module)
        {
            Module = module;
        }
    }
}
